﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VSAddinLibrary
{
  public class BaseConnect<T> : BaseConnect where T : new()
  {
    public BaseConnect()
    {
      AddinController = OnCreateAddinController();
    }

    public virtual T OnCreateAddinController()
    {
      return new T();
    }

    public T AddinController { get; protected set; }
  }
}
